package com.company.userController;

import com.company.user.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller("userController")
public class UserController {
@Autowired
    private UserController userController;
@Autowired
     private User user;

    public void sayHi(){
        System.out.println(user.getName());
        System.out.println("hi,userController");
    }


}